Skip to content

fix: require complete chatgpt oauth startup tokens#330

Merged
Colin Francis (colifran) merged 3 commits into
langchain-ai:mainfrom
HwangJohn:fix/chatgpt-oauth-startup-validation
Jul 20, 2026
Merged

fix: require complete chatgpt oauth startup tokens#330
Colin Francis (colifran) merged 3 commits into
langchain-ai:mainfrom
HwangJohn:fix/chatgpt-oauth-startup-validation

Conversation

@HwangJohn

Copy link
Copy Markdown
Contributor

Summary

  • make non-interactive startup validate the complete ChatGPT OAuth token set
  • keep API-key provider startup behavior unchanged
  • leave expired but complete ChatGPT tokens to the existing agent refresh path

Testing

  • corepack pnpm exec prettier --check src/startup.ts test/startup.test.ts
  • corepack pnpm exec vitest run test/startup.test.ts
  • corepack pnpm run typecheck

@HwangJohn
HwangJohn marked this pull request as ready for review July 14, 2026 12:26

@colifran Colin Francis (colifran) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@colifran
Colin Francis (colifran) merged commit 6d6fac2 into langchain-ai:main Jul 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants